<% view :nameDialog, :pane => :dialog, :visible => false, :width => 215 do %>
	<h1><%= loc(%(NameDialog_Title)) %></h1>
	<% form_view :nameForm do %>
	<p>
		<label for="nameField"><%= loc(%(NameDialog_Name)) %>:</label>
		<%= text_field_view :nameField %>
	</p>
	<div class="buttons">
		<%= button_view :title => loc(%(NameDialog_Cancel)),
			:cancel => true,
			:width => 40,
			:action => 'Frontend.chatController.hideChangeNickDialog' %>
		<%= button_view :title => loc(%(NameDialog_OK)),
			:default => true,
			:width => 40,
			:action => 'Frontend.chatController.changeNick' %>
	</div>
	<% end %>
<% end %>
